package com.lanchetech.service;

import com.lanchetech.bean.request.SmsCodeReq;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.entity.Orders;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

public interface SmsService {
    Boolean verifySms(String phone, String code);

    /**
     * 发送短信验证码
     *
     * @return
     */
    BaseResp sendSms(HttpServletRequest request, HttpSession session, SmsCodeReq req);

    BaseResp sendVerificationSmsCode(HttpServletRequest request, SmsCodeReq req);

    void sendShareCommissionSms(String name, String name2, String money, String phone);

    /** 发送商家订单通知
     * @param remark
     * @param phone
     */
    void sendShopOrderSms(String remark, String phone);
}